package coms.ejb;

import coms.dto.Conference;
import coms.dto.ConferenceItem;
import coms.dto.User;
import coms.exceptions.DAOException;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface UserBeanRemote extends GenericBeanRemote<User>{
    public User findUserByUsername(String username)throws DAOException;
    public User validateUser(String userid, String password) throws DAOException;
    public List<User> searchParticipantByConference(Conference conference);
    public List<User> searchParticipantByConferenceItem(ConferenceItem conferenceItem);
}
